#ifndef _WEBSTREAM_h_
#define _WEBSTREAM_h_

#include <stdint.h>
#include <stddef.h>

#ifdef __cplusplus
extern "C" {
#endif
	typedef void (*WebStreamCB)(float x, float y, float w, float h);
	int WebStreamInit(int port, const char* url, WebStreamCB cb);
	int WebStream_sendStream(const void* buff, int len, uint64_t pts);
	int WebStreamUnInit();
#ifdef __cplusplus
}
#endif
#endif /* !_amf0_h_ */
